package gui.items;

import gui.fenetrage.GUIFenetrePrincipale;
import gui.panels.Planche;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class ActionBoutonPanel implements ActionListener {

	protected Planche.CmdInstanciation	destination;
	
	public ActionBoutonPanel(Planche.CmdInstanciation destination) {
		this.destination = destination;
	}
	
	public void actionPerformed(ActionEvent arg0) {
		GUIFenetrePrincipale.getInstance().setPlanche(destination.getInstance());
	}

}
